package com.dlnu.shoping.shopping.service.impl;

import com.dlnu.shoping.shopping.common.Result;
import com.dlnu.shoping.shopping.mapper.AdDao;
import com.dlnu.shoping.shopping.service.IAdService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class IAdServiceImpl implements IAdService {
    @Resource
    private AdDao adDao;

    @Override
    public Result search() {
        return new Result(adDao.search());
    }
}
